
import { createStore,combineReducers } from "redux"


// 导入reducer函数，也就是各模块
import app from  "./reducer/app"
import user from "./reducer/user"

// 合并reducer函数
let reducer = combineReducers({ app,user })

// 创建仓库对象,且暴露
export default createStore(reducer)